{extend name="public:layout" /}

{block name="title"}
	<title>{:site('siteName')}-提现记录</title>
{/block}

{block name="css"}
	<link rel="stylesheet" type="text/css" href="__STATIC__/{$theme}/css/user.css">
	<link rel="stylesheet" href="__STATIC__/share/css/share.css" type="text/css" />
{/block}

{block name="content"}
	<div class="layui-main">
		<div class="user-main">
			<div class="user-left">
				{include file="public:user" index="0" /}
			</div>
			<div class="user-right">
				<div class="layui-tab layui-tab-brief">
					<ul class="layui-tab-title">
						<li>
							<a href="/withdraw">申请提现</a>
						</li>
						<li class="layui-this">
							<a href="/myWithdraw">提现记录</a>
						</li>
					</ul>
					<div class="layui-tab-content">
						<table class="table">
						    <thead>
						        <tr>
						            <th>时间</th>
						            <th>类型</th>
						            <th>申请</th>
						            <th>手续</th>
						            <th>购物</th>
						            <th>应付</th>
						            <th>状态</th>
						            <th>备注</th>
						        </tr>
						    </thead>
						    <tbody>
								{volist name="list" id="v"}
							        <tr>
							            <td>{:date('Y-m-d',$v['create_time'])}</td>
							            <td>
							            	{eq name="v.type" value="alipay"}支付宝{/eq}
							            	{eq name="v.type" value="bank"}网银{/eq}
							            </td>
							            <td>{$v.money}</td>
							            <td>{$v.fee}</td>
							            <td>{$v.shopping}</td>
							            <td>{$v.paid}</td>
							            <td>
							            	{eq name="v.status" value="0"}审核中{/eq}
							            	{eq name="v.status" value="1"}已支付{/eq}
							            	{eq name="v.status" value="2"}已失败{/eq}
							            </td>
							            <td>{$v.note}</td>
							        </tr>
								{/volist}
						    </tbody>
						</table>
						<div class="page">
							{$list->render()}
						</div>
					</div>
				</div> 
			</div>
		</div>
	</div>
{/block}

{block name="script"}
	<script type="text/javascript">
		
	</script>
{/block}